package com.iweb.user.service;

import com.iweb.user.dao.UserTicketMapper;
import com.iweb.user.model.Ticket;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserTicketServiceImpl implements UserTicketService {

    @Autowired
    private UserTicketMapper userTicketMapper;

    @Override
    public List<Ticket> findTicketsByShowId(int showId) {
        return userTicketMapper.queryByShowId(showId);
    }
}